import {
    Document, 
    Menu as IconMenu, 
    Location, 
    Setting, 
    Tools, 
    Collection, 
    Management, 
    List, 
    Help
} from '@element-plus/icons-vue'
import type { MenuInfo } from '@/types'
import { reactive, shallowRef } from 'vue'
export default function() {
    let menuInfoList = shallowRef<MenuInfo[]>([
        {
          id: 1,
          name: '规则场景',
          icon: Tools,
          routPath: 'ruleScenarios',
          children: []
        },
        {
          id: 2,
          name: '业务模型',
          icon: Collection,
          routPath: 'businessModel',
          children: []
        },
        {
          id: 3,
          name: '规则管理',
          icon: Management,
          routPath: 'ruleManagement',
          children: []
        },
        {
          id: 4,
          name: '常量集合',
          icon: List,
          routPath: 'constList',
          children: []
        },
        {
          id: 5,
          name: '规则测试',
          icon: Help,
          routPath: 'ruleTest',
          children: []
        },
      ])
      return { menuInfoList }
}